Skip to content

[DRAFT] Hotfixes release 2026.03.17#5753

Draft
marcellamaki wants to merge 10 commits intomasterfrom
hotfixes
Draft

[DRAFT] Hotfixes release 2026.03.17#5753
marcellamaki wants to merge 10 commits intomasterfrom
hotfixes

Conversation

@marcellamaki
Copy link
Member

@marcellamaki marcellamaki commented Mar 11, 2026

Summary

References

PR Issues Category QA Focus QA status
#5738 #5689 Bug Confirm you are able to access the updated DCMA/report a violation form for copyrighted content in an incognito window (meaning not when you are autheticated in google as LE email where you might have access to the google form anyway 😄)
#5730 #5407 Bug Ensure "thanks for your feedback" snackbar message displays in full in french and Portuguese
#5731 #5667 Bug This is a partial fix for the exercise incompletion (you can refer to slack in studio-dev on march 2 for more discussion of examples if needed

LianaHarris360 and others added 10 commits February 18, 2026 15:39
Downgrade non-urgent _sort_by_order logging error to warning
)

* Fix migrate_extra_fields to null m/n for non-m_of_n mastery models

Old-style exercise extra_fields were being migrated with non-null m/n
values for non-m_of_n mastery models (e.g. do_all, num_correct_in_a_row).
The mastery criteria JSON schema requires m and n to be null for these
models, causing frontend AJV validation to fail and exercises to appear
incomplete.

- Fix migrate_extra_fields to set m/n to null for non-m_of_n models
- Add management command fix_exercise_extra_fields to repair existing
  data in production

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Migrate old-style exercise extra_fields on ricecooker import

The ricecooker import path (create_node) was writing old-style
extra_fields directly to the DB without running migration. This
ensures incoming exercise data is migrated to the new-style
options.completion_criteria format before being persisted.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Cleanup management command and add more logging.

* Target dry_run more focally for better info, cleanup redundant save.

* Lazy loading, lazy coding.

* Mark_complete returns an empty list if complete.

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…mpletion criteria fixed but their complete value is still wrong
Update snackbar to use multiline overflow option
Add additional completion to exercises that have already had their completion criteria fixed but their complete value is still wrong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants